package com.ityy.ruiji.service;

import com.ityy.ruiji.common.R;
import com.ityy.ruiji.entity.AddressBook;

public interface AddressBookService {
    R finAll(AddressBook addressBook);

    R defaul(AddressBook addressBook);

    R save(AddressBook addressBook);

    R<AddressBook> finById(Long id);

    R update(AddressBook addressBook);

    R deleteById(Long ids);

    AddressBook getDefaultAddress(Long userId);
}
